import request from '@/router/axios';

/** @desc 白名单列表 */
export const getList = (current, size, params) => {
  return request({
    url: '/api/rb-oem/oem/loginService/login_service/list',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}
/** @desc 白名单新增 */
export const apiAdd = (row) => {
  return request({
    url: '/api/rb-oem/oem/loginService/login_service/save',
    method: 'post',
    headers: {
      "Content-Type": "application/json; charset=UTF-8",
    },
    data: JSON.stringify(row)
  })
}
/** @desc 白名单删除 */
export const apiDel = (row) => {
  return request({
    url: '/api/rb-oem/oem/loginService/login_service/remove',
    method: 'post',
    headers: {
      "Content-Type": "application/json; charset=UTF-8",
    },
    data: JSON.stringify(row)
  })
}



